package com.ruoyi.web.a2.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class A2TmpAndIaJson {

    @NotNull(message = "类型不能为空！")
    @ApiModelProperty(value = "类型(1:舰船2:飞机)")
    private Integer type;

    @NotBlank(message = "目标编号不能为空！")
    @ApiModelProperty(value = "目标编号 (mmsi 或者 icao)")
    private String targetNum;

    @NotBlank(message = "开始时间不能为空！")
    @ApiModelProperty(value = "开始时间(yyyy-MM-dd HH:mm:ss)")
    private String startTime;

    @NotBlank(message = "结束时间不能为空！")
    @ApiModelProperty(value = "结束时间(yyyy-MM-dd HH:mm:ss)")
    private String endTime;



}
